package com.dayu.finecomm.protocol.hd72;

/***
 * HD76 公理类
 */
public abstract class HD76Convention {

	public static int interval(short type) {

		// (0,5,15,30,60,120);
		switch (type) {
		case 0:
			return 0 * 60 * 1000;
		case 1:
			return 5 * 60 * 1000;
		case 2:
			return 15 * 60 * 1000;
		case 3:
			return 30 * 60 * 1000;
		case 4:
			return 60 * 60 * 1000;
		case 5:
			return 120 * 60 * 1000;
		}

		return 0;
	}

}
